/**
 * 事件基类
 *
 * User: rendong
 * Date: 12-9-3
 * Time: 下午8:57
 * $Id: GEvent.js 11 2012-09-06 15:55:53Z rendong237@gmail.com $
 */

/**
 * 构造函数
 * @param type
 * @constructor
 */
function GEvent(type){
    this.type = type;
}

GEvent.prototype.type = "";
GEvent.prototype.currentTarget = null;
GEvent.prototype.target = null;

/**事件定义**/

/**
 * 添加到舞台时调用，stage属性可用
 * @see GDisplayObject
 * @type {String}
 */
GEvent.prototype.ADDED_TO_STAGE = "ADDED_TO_STAGE";

/**
 * stage即将渲染下一帧时触发
 *
 * @type {String}
 */
GEvent.prototype.ENTER_FRAME = "ENTER_FRAME";

/**
 * GImageSprite播放完毕事件
 *
 * @type {String}
 */
GEvent.prototype.FINISH_FRAME = "FINISH_FRAME";
